internal static void Start() { T = new Thread(() => { ProcessChecker.Check(); }); T.Start(); }
private void Start() { string temporary; ProcessChecker.Check( "GetComponent", () => temporary = GetComponent <Data>().sentence, "SerializeField", () => temporary = data.sentence); }
void Start() { Vector2 a = new Vector2(Random.Range(-100, 100), Random.Range(-100, 100)); Vector2 b = new Vector2(Random.Range(-100, 100), Random.Range(-100, 100)); float temporary; ProcessChecker.Check( "Distance", () => temporary = Vector2.Distance(a, b), "sqrMagnitude", () => temporary = (a - b).sqrMagnitude); }
private void Start() { ProcessChecker.Check( "Position", () => obj.transform.position = new Vector2(Random.Range(-100, 100), Random.Range(-100, 100)), "LocalPosition", () => obj.transform.localPosition = new Vector2(Random.Range(-100, 100), Random.Range(-100, 100))); }