Quantcast
Channel: Answers by "ExactAkatsuki"
Viewing all articles
Browse latest Browse all 36

Answer by ExactAkatsuki

$
0
0
Actually, I got kind of impatient and didn't want to wait any longer so I took what I already know and made this script. #pragma strict public var ATBB = false;; public var B = false; function Start () { ATBB = false; B = false; } function Update () { if(ATBB){ if(Input.GetMouseButtonDown(0)){ B = true; } } if(B){ renderer.material.color = Color.clear; } } function OnMouseEnter(){ ATBB = true; } function OnMouseExit(){ ATBB = false; }

Viewing all articles
Browse latest Browse all 36

Latest Images

Trending Articles





Latest Images