// 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); }
//-------------------------------------------------------------------------------------------- public static VisualAlibiFactory getInstance() { if (created == 0) { _visualAlibi = new VisualAlibiFactory(); created++; } return(_visualAlibi); }