Quantcast
Browsing all 4 articles
Browse latest View live

Answer by kkxzd

You can use lerp to always go to the object, no matter where it is. For example: Create a cube Create a Ball Assign this script to the ball: using UnityEngine; using System.Collections; public class...

View Article


Answer by kkxzd

Really depends on how you have everything setup, but assuming you can make your list and map static members of your tower script: public static List test_list = new List() {1, 2}; You can then update...

View Article


Answer by kkxzd

You can use lerp to always go to the object, no matter where it is. For example: Create a cube Create a Ball Assign this script to the ball: using UnityEngine; using System.Collections; public class...

View Article

Answer by kkxzd

Really depends on how you have everything setup, but assuming you can make your list and map static members of your tower script: public static List test_list = new List() {1, 2}; You can then update...

View Article
Browsing all 4 articles
Browse latest View live