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 154765

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

2 votes
Accepted

How an I find grid outer square positions by formula by script?

I would recommend you to use the same class for generation and for usage of the Grid, because, firstly, it is the same objects you are working with, secondly, because you can avoid usage of Update() f …
TheShellOfAMan's user avatar
1 vote
Accepted

How can I select random two positions from the grid outer square and also that the randoms w...

You could add inside the CreateGrid(): if (Random.Range(0,2)==0){ var blockRenderer=GridBlocks[0,Random.Range(0,GridHeight)].GetComponent<Renderer>(); blockRenderer.material.SetCol …
TheShellOfAMan's user avatar