Search Unity

UI Tool kit documetation

Discussion in 'Scripting' started by keithsoulasa, Oct 26, 2012.

  1. keithsoulasa

    keithsoulasa

    Joined:
    Feb 15, 2012
    Posts:
    2,126
    Where can I find good documentation for UI tool kit .
    Like right now I want to get a button to do somthing ...
    Code (csharp):
    1.  
    2.  
    3. //JumpB is a UI button
    4. // Ky is anouther script i'm accessing with a public void of Jumpie
    5.     void Update()
    6.     {
    7.        
    8.         if(JumpB.onTouchBegan== true) {
    9.             Ky.Jumpie();
    10.         }
    11.  
    12.  
     
  2. hima

    hima

    Joined:
    Oct 1, 2010
    Posts:
    183
    I thought the developer stop supporting this product already. Although, I think you can still find the tutorial on Youtube, if my memory serves.
     
  3. keithsoulasa

    keithsoulasa

    Joined:
    Feb 15, 2012
    Posts:
    2,126
    I figured out a way to do this , here for all who need it

    JumpB is a button , and Ky.Jumpie is a script + the function i'm calling in said script .
    Code (csharp):
    1.  
    2. void Update(){
    3. JumpB.onTouchUpInside += ( sender ) => Ky.Jumpie();
    4. }
    5.