Skip to content

Instantly share code, notes, and snippets.

View Shagunandroid's full-sized avatar
💭
Nice

Shagun Verma Shagunandroid

💭
Nice
View GitHub Profile
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;
/** 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) };