Hi everyone,
I have a script called "TestObject1" attached to an empty GameObject in the scene.
GameObject.Instantiate won't clone an object reference
I have a script called "TestObject1" attached to an empty GameObject in the scene.
Code (CSharp):
- using UnityEngine;
- using System.Collections;
- public object var;
- public float var2 = 0f;
- // Use this for initialization
- }
- // Update is called once per frame
- {
- var =...