예제 #1
0
    public void AddHat()
    {
        HatTypeName HT     = HatTypes[HatIncrementor].HatType;
        GameObject  G      = HatTypes[HatIncrementor].Prefab;
        Hat         newHat = new Hat(HT, G);

        HatPipeline.Add(newHat);
    }
예제 #2
0
 public Hat(HatTypeName Type, GameObject GameObject)
 {
     HatType = Type;
     Prefab  = GameObject;
 }