awrash pk

1

votes
1

answer
44

views

why it doesnt pass the Bool variable to another Class?

I wanna to open a door when the player's walks around on the trigger switch so i created 2 scripts and I set my Bool Variable on another Class but it doesnt work here is my Code on First class: internal bool openDoor=false; private void OnTriggerEnter2D(Collider2D door) { if (openDoor==true && do...
awrash pk
1

votes
1

answer
97

views

Android.Content.ActivityNotFoundException: <Timeout exceeded getting exception details> Xamarin C#

recently i tried to learn android programming with Xamarin in Visual studio 2017 i wrote a simple app that makes call but when i tap Call Button its give this execption error a couple of days ago its worked fine but now i got this error i did make permission for CALL_PHONE in manifest file forgive m...
awrash pk
1

votes
1

answer
22

views

how to move and recreate sprite in unity2D?

hey guys im trying to shoot with simple code i have 2 C# Classes one for Player movements and one for Bullet this is Bullet Collision Class void Start () { source.clip = clip; bullet = GetComponent(); rb = GetComponent(); bulletPos = player.position; } // Update is called once per frame private void...
awrash pk