Example #1
0
 // Use this for initialization
 void Start()
 {
     _factory        = VisualAlibiFactory.getInstance();
     _visualTraits   = new List <VisualTraits>();
     _gameObjectList = new List <GameObject>();
     thread          = new CheatThread();
     CheatThread.k_playerCreatedEvent += new CheatThread.playerCreated(createObject);
 }
Example #2
0
 //--------------------------------------------------------------------------------------------
 public static VisualAlibiFactory getInstance()
 {
     if (created == 0)
     {
         _visualAlibi = new VisualAlibiFactory();
         created++;
     }
     return(_visualAlibi);
 }