Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 90531

C# is a multi-paradigm, managed, strongly typed, garbage-collected, programming language created by Microsoft in conjunction with the .NET platform.

2 votes
1 answer
2k views

Unity detect tap on 3d object

I have a simple game object (3d object) and I want to detect and run some code when gets clicked/tapped. I tried OnPointerDown/Up/Click but seems to not be working for 3D Objects. With 2d objects (im …
fj123x's user avatar
  • 173
1 vote
2 answers
718 views

Unity how to have a ghost 3d game object

I want to have a 3d game object (player) who converts to ghost. That means that the user must not collide with other players, but must not pass walls, trees, and must take care about terrain height l …
fj123x's user avatar
  • 173
1 vote

Unity MonoBehaviour seems to have another scope

The problem was related with the prefab, I was setting the Foo to the Prefab instead of the instance, Fix: var instance = Instantiate(enemyGameObject); var enemyBehaviour = instance.transform …
fj123x's user avatar
  • 173
0 votes
1 answer
743 views

Unity player movement in cells

I want to do a game where the map is cell based, like Pokemon, where when you press Left, you move from 210x100 to 209x100. Like this: void Update() { var x = Input.GetAxis("Horizont …
fj123x's user avatar
  • 173
-1 votes
1 answer
116 views

Unity MonoBehaviour seems to have another scope

I have a class (EnemyBehaviour) which extends MonoBehaviour, this class has the following two methods: private Enemy enemy; public void set(Enemy enemy) { this.enemy = enemy; …
fj123x's user avatar
  • 173