コード例 #1
0
ファイル: PPFXWindow.cs プロジェクト: Alan-Baylis/11
 //=======================================
 //TOOLBAR ACTIONS
 //=======================================
 void ToolbarActions(toolbarActions _action)
 {
     switch (_action)
     {
     case toolbarActions.Refresh:
         pfxPrefabList       = new List <Object[]>();
         pfxPreviewImageList = new List <Texture[]>();
         pfxAssetCount       = new int[] { 0, 0, 0, 0 };
         LoadPrefabs();
         break;
     }
 }
コード例 #2
0
ファイル: PPFXWindow.cs プロジェクト: timKofoed/MatchShooter
	//=======================================
	//TOOLBAR ACTIONS
	//=======================================
	void ToolbarActions(toolbarActions _action)
	{
		switch(_action)
		{
			case toolbarActions.Refresh:
				pfxPrefabList = new List<Object[]>();
				pfxPreviewImageList = new List<Texture[]>();
				pfxAssetCount = new int[]{0,0,0,0};
				LoadPrefabs();
				break;
		}
	}