コード例 #1
0
        public static arctusBehaveV3 Constructor()
        {
            GameObject go = GameObject.Instantiate(PrefabManager.GetPrefab("ArctusV3"));

            return(go.GetComponent <arctusBehaveV3>());
        }
コード例 #2
0
 public static InteractablePrism Constructor()
 {
     return(GameObject.Instantiate(PrefabManager.GetPrefab("InteractablePrism")).GetComponent <InteractablePrism>());
 }
コード例 #3
0
        public static flatfaceBehave Constructor()
        {
            GameObject go = GameObject.Instantiate(PrefabManager.GetPrefab("Flatface"));

            return(go.GetComponent <flatfaceBehave>());
        }
コード例 #4
0
        public static straightEdgeBehave Constructor()
        {
            GameObject go = GameObject.Instantiate(PrefabManager.GetPrefab("Straightedge"));

            return(go.GetComponent <straightEdgeBehave>());
        }
コード例 #5
0
 public static InteractableLineSegment Constructor()
 {
     return(Instantiate(PrefabManager.GetPrefab("InteractableLineSegment")).GetComponent <InteractableLineSegment>());
 }
コード例 #6
0
        // Use this for initialization
        #region Constructors
        public static parallelLinesMaker Constructor()
        {
            GameObject go = GameObject.Instantiate(PrefabManager.GetPrefab("ParallelLines"));

            return(go.GetComponent <parallelLinesMaker>());
        }
コード例 #7
0
 public static alphabetLabel Constructor()
 {
     return(GameObject.Instantiate(PrefabManager.GetPrefab("AlphabetLabel")).GetComponent <alphabetLabel>());
 }
コード例 #8
0
ファイル: regularPolygon.cs プロジェクト: Neolyss/handwaver
 public static regularPolygon Constructor()
 {
     return(GameObject.Instantiate(PrefabManager.GetPrefab("RegularPolygon")).GetComponent <regularPolygon>());
 }
コード例 #9
0
 public static SnappablePoint Constructor()
 {
     return(GameObject.Instantiate(PrefabManager.GetPrefab("SnappablePoint")).GetComponent <SnappablePoint>());
 }