UWCharacter.Start C# (CSharp) Method

Start() public method

public Start ( ) : void
return void
    public override void Start()
    {
        base.Start ();
                InventoryReady=false;
        GameWorldController.instance.playerUW=this;
        XAxis.enabled=false;
        YAxis.enabled=false;
        MouseLookEnabled=false;
        Cursor.SetCursor (UWHUD.instance.CursorIconBlank,Vector2.zero, CursorMode.ForceSoftware);
        InteractionMode=UWCharacter.DefaultInteractionMode;

        //Tells other objects about this component;

        RuneSlot.playerUW=this.GetComponent<UWCharacter>();
        Magic.playerUW=this.GetComponent<UWCharacter>();
        SpellProp.playerUW = this.gameObject.GetComponent<UWCharacter>();

        UWHUD.instance.InputControl.text="";
        UWHUD.instance.MessageScroll.Clear ();
    }