This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
public class DistanceJoint3D : MonoBehaviour { | |
public Transform ConnectedRigidbody; | |
public bool DetermineDistanceOnStart = true; | |
public float Distance; | |
public float Spring = 0.1f; | |
public float Damper = 5f; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** For this example, assume that | |
* public static final int GENDER_MALE = 1; | |
* public static final int GENDER_FEMALE = 2; | |
**/ | |
String[] projection = { PetEntry.COLUMN_PET_BREED, | |
PetEntry.COLUMN_PET_WEIGHT }; | |
String selection = PetEntry.COLUMN_PET_GENDER + “=?”; | |
String[] selectionArgs = new String[] { String.valueOf(PetEntry.GENDERFEMALE) }; |