示例#1
0
 void OnEnable()
 {
     t            = (PlayerAccessoriesList)target;
     getTarget    = new SerializedObject(t);
     thisList     = getTarget.FindProperty("accessories");
     showPosition = new bool[t.accessories.Count + 1];
 }
	void OnEnable(){
		t = (PlayerAccessoriesList)target;
		getTarget = new SerializedObject(t);
		thisList = getTarget.FindProperty("accessories"); 
		showPosition = new bool[t.accessories.Count+1];
	}
示例#3
0
	// Use this for initialization
	void Start ()
	{
		pl=GetComponent<PlayerAccessoriesList>();
	}