↧
Answer by jjkiii
Mattsson almost completed the question. In C# i would... OnTriggerEnter(Collider other) { //assuming your bullet is tagged as bullet and the enemy has no health. if(other.gameObject.tag == "bullet") {...
View ArticleAnswer by jjkiii
If you click on the camera there should be two checkmarks. un-check the one that says options. ***If you change the value of a int, string, bool, anything in code, that is public(public int i = 1;),...
View ArticleAnswer by jjkiii
This is what I did to change the color of the new UI images in 4.6 beta 17, hope it helps =) using UnityEngine.UI; public (name of script that holds the color variable lets say Image) Image image;...
View ArticleAnswer by jjkiii
Never mind, Since i have not been animating in a while i simply forgot to connect all of the armatures, Sorry!
View Article