コード例 #1
0
ファイル: BranchPort.cs プロジェクト: Masterchef365/SBCEdit
 void Start()
 {
     colorDictionary = new LineTypeDictionary.valueClass();
     GetComponent<Image> ().color = colorDictionary.colors[(int)connectionType]; //Set the node color
     lineCam.GetComponent<SplineDraw>().ports.Add(gameObject);
 }
コード例 #2
0
ファイル: BranchPort.cs プロジェクト: Masterchef365/SBCEdit
 void Start()
 {
     colorDictionary = new LineTypeDictionary.valueClass();
     GetComponent <Image> ().color = colorDictionary.colors[(int)connectionType];        //Set the node color
     lineCam.GetComponent <SplineDraw>().ports.Add(gameObject);
 }
コード例 #3
0
ファイル: SplineDraw.cs プロジェクト: Masterchef365/SBCEdit
 void Start()
 {
     colorDictionary = new LineTypeDictionary.valueClass ();
 }
コード例 #4
0
ファイル: SplineDraw.cs プロジェクト: Masterchef365/SBCEdit
 void Start()
 {
     colorDictionary = new LineTypeDictionary.valueClass();
 }
コード例 #5
0
	void Start() {
		colorDictionary = new LineTypeDictionary.valueClass(); 
		GetComponent<Image> ().color = colorDictionary.colors[(int)connectionType]; //Set the node color
	}
コード例 #6
0
 void Start()
 {
     colorDictionary = new LineTypeDictionary.valueClass();
     GetComponent<Image> ().color = colorDictionary.colors[(int)connectionType]; //Set the node color
 }