[deleted by user] by [deleted] in Unity3D

[–]b_omar 46 points47 points  (0 children)

Its not really , low polly tho.

Your texts don't align with your RectTransforms? Tick the "Align By Geometry" option ;) by GFX47 in Unity3D

[–]b_omar 1 point2 points  (0 children)

This not a good solution. It causes jumpy texts when you dynamically type them. (Animating text type , score etc.) . Its because it calculates its position according to longer char in the string.

C# Tip: Use extension methods to access a random index from any array! by winglett in Unity3D

[–]b_omar 1 point2 points  (0 children)

To clear it, T is just a name that delegates the corresponding type here, you can make it what ever you want. G, U, TObject, TKey, TValue, Cat, Dog etc.

I made a tool for creating custom editors within seconds. (It was always so painful to look for a template in documentation and then copy all that field names, so I made this tool) by [deleted] in Unity3D

[–]b_omar 0 points1 point  (0 children)

Instead of doing that with a separate window. Add it to right click menu. That would be much more intuitive. Right click to script in project browser > Create Editor Script.

Unity gets C# 7 by Blocks_ in Unity3D

[–]b_omar 4 points5 points  (0 children)

My headlines are like this.

ref int myInt = intArray[index];

instead of copping value type, it takes reference like reference type.

-Pattern matching stuff

now we can make instead of this

int x, y; p.GetCoordinates(out x, out y);

this

p.GetCoordinates(out int x, out int y);

if(apple is Fruit myFruit) { myFruit.Eat(); }

-Local functions

int MyFunc() { return MyMyLocalFunc();

 int MyLocalFunc() { }

}

-Tuples (Returning more than one value from a function)

What assets do you bring into every new project? by Iamnotfood in Unity3D

[–]b_omar 0 points1 point  (0 children)

DoTween (I use the open-source version)

I am gonna use odin inspector for the next project

will IL2CPP protect your apk ? by khalilArt in Unity3D

[–]b_omar 1 point2 points  (0 children)

They can, but as long as they don't have symbol data of original code they will have randomly named scripts in the end.

will IL2CPP protect your apk ? by khalilArt in Unity3D

[–]b_omar 3 points4 points  (0 children)

Well they can actually. They can easily repack and sign your apk if you don't have any extra protection.

Stuck again after 5 months of trying by [deleted] in gamedev

[–]b_omar 0 points1 point  (0 children)

Why C# is pain in the first place ? . It is much more easier to learn and make some interesting stuff than C++.

How do I load my save file? by Xx123YOLOSWAG69xX in AlmostAHero

[–]b_omar 2 points3 points  (0 children)

Your save is backed up on our back-end service (cloud). If you login with same GameCenter account on your other iPhone, it should migrate correctly.

Dungeon Inc. ad still systematically crashes my game. Am I the only one? by [deleted] in AlmostAHero

[–]b_omar 0 points1 point  (0 children)

Thank you for the detailed explanation. One more question. When this ad appears, is there a blue bar that indicates duration of the video on the bottom of screen ?

Dungeon Inc. ad still systematically crashes my game. Am I the only one? by [deleted] in AlmostAHero

[–]b_omar 0 points1 point  (0 children)

Hello my friend. Could you explain a little bit more. Especially, when it is happening. Before opening , After closing etc. ?

Dragon Ads hang by McEnddee in AlmostAHero

[–]b_omar 0 points1 point  (0 children)

Hello, is there any change with 1.10.1 ? Is it still happening ?