void Awake() { this.m_TuioManager = UniducialLibrary.TuioManager.Instance; //uncomment next line to set port explicitly (default is 3333) //m_TuioManager.TuioPort = 7777; this.m_TuioManager.Connect(); this.Manager = KnochenManager.Instance; this.RightRotation = false; this.Manager.AddGelenk(this); //check if the game object needs to be transformed in normalized 2d space if (isAttachedToGUIComponent()) { Debug.LogWarning("Rotation of GUIText or GUITexture is not supported. Use a plane with a texture instead."); this.m_ControlsGUIElement = true; } this.m_ScreenPosition = Vector2.zero; this.m_WorldPosition = Vector3.zero; this.m_Direction = Vector2.zero; this.m_Angle = 0f; this.m_AngleDegrees = 0; this.m_Speed = 0f; this.m_Acceleration = 0f; this.m_RotationSpeed = 0f; this.m_RotationAcceleration = 0f; this.m_IsVisible = true; }
public KnochenManager() { if (km_Instance != null) { Debug.LogError("Trying to create two instances of singleton."); return; } km_Instance = this; this.Manager = ManagerKlasse.Instance; }
void Start() { this.Km_Instance = KnochenManager.Instance; this.DefineWay(); WalkedThrough = false; }
//http://www.salamisound.de/3561361-einmal-bellen-und (Abrufdatum: 29.01.18) void Start() { this.km_Instance = KnochenManager.Instance; this.DefineWay(); }