I have this code at my void start, but why it run 2 times at the debug log, ita happen not only at start but at my UI button too. can some1 explain this Code (CSharp): void Start () { Debug.Log ("start"); }
ooh like that, I have empty gameobject where the script I use. And at the same time I load that script in my UI button. How I make it just 1 script at all, I'm newbie at Unity