Quantcast
Channel: Answers by "Robinmtb"
Browsing all 6 articles
Browse latest View live

Answer by Robinmtb

Hi! This should do the trick :) int WaypointIndex = Array.IndexOf(Waypoints, TargetTile); //Find index of reached waypoint List temp = new List(Waypoints); //Duplicate old Array into a List...

View Article


Answer by Robinmtb

Hi! First I'll repost your code with breaks so it's easier to read :D using UnityEngine; using System.Collections; public class HealthTrigger : MonoBehaviour { //Use this for initilization void Start...

View Article


Answer by Robinmtb

Hi Tonts! You can make a grid like that like this: public var gridObject : Transform; //The floor-object in your project public var gridElementsX = 6; //Number of grid elements in X-axis public var...

View Article

Answer by Robinmtb

Hi! This should do the trick :) int WaypointIndex = Array.IndexOf(Waypoints, TargetTile); //Find index of reached waypoint List temp = new List(Waypoints); //Duplicate old Array into a List...

View Article

Answer by Robinmtb

Hi! First I'll repost your code with breaks so it's easier to read :D using UnityEngine; using System.Collections; public class HealthTrigger : MonoBehaviour { //Use this for initilization void Start...

View Article


Answer by Robinmtb

Hi Tonts! You can make a grid like that like this: public var gridObject : Transform; //The floor-object in your project public var gridElementsX = 6; //Number of grid elements in X-axis public var...

View Article
Browsing all 6 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>