Coroutines in Unity

Mastering Coroutines in Unity in 10 mins: http://www.theappguruz.com/blog/how-to-use-coroutines-in-unity

Repeating timer via recursive coroutine

using UnityEngine;
using System.Collections;

public class Timer : MonoBehaviour
{
public float waitTime = 3f;

void Start()
{
StartCoroutine (HarmPlayer());
}

IEnumerator HarmPlayer()
{
yield return new WaitForSeconds(waitTime);
print (“Performing some action”);
StartCoroutine (HarmPlayer());
}
}
http://unitylore.com/articles/timers-in-unity/

Unity List Add, Linq

pipeHolders = GameObject.FindGameObjectsWithTag (“PipeHolder”);
pipeHolders = pipeHolders.OrderBy (pipeHolder => pipeHolder.transform.position.x).ToArray();

*****
public List points = new List();
****
List colors = new List();
colors.Add(“Red”);
colors.Add(“Blue”);
colors.Add(“Green”);

**************
http://answers.unity3d.com/questions/1112497/adding-gameobjects-to-an-existing-array.html

http://csharp.net-informations.com/collection/list.htm

LINQ in Unity

LINQ for Unity Developers: https://unity3d.college/2017/07/01/linq-unity-developers/

LINQ (Language Integrated Query) is a great feature available to C# Unity developers. Many developers don’t know it exists or how to use it though, and lose out on the great time & code savings it can provide. LINQ in Unity has a variety of great uses, and a couple pitfalls you’ll want to avoid.

https://forum.unity.com/threads/orderbydescending-help.315281/

Sort: http://answers.unity3d.com/questions/1381601/sort-a-list-of-class-by-a-vector-variable-in-the-c.html

Programozó fizetések 2017

Programozó fizetések 2017 https://docs.google.com/spreadsheets/d/1ocSPXoRiM66FMhm1wW59iyyTAHJ1flbIBmzOi7gWy80/edit#gid=0

Webdesign és Webprogramozó fizetések 2016

Forrás Facebook.
Külföld, Budapest, vidék, programnyelvek, végzettség, tapasztalat :
https://docs.google.com/spreadsheets/d/1-WWekoa8–Ko9QOi3HOjeHSdGmJc0WJkwszRgwMjTZM/edit#gid=0

És mennyi lenne a fizetési igénye?” – mégis mit kezdjünk ezzel a kérdéssel? : http://index.hu/index2/#bloghu/miazenutam/2016/10/20/_es_mennyi_lenne_a_fizetesi_igenye_megis_mit_kezdjunk_ezzel_a_kerdessel

Unity collision

detect side of collision in box collider 2d? : http://answers.unity3d.com/questions/783377/detect-side-of-collision-in-box-collider-2d.html

How to find the point of contact with the function OnTriggerEnter???

OnTriggerEnter() does not handle collision information, just detects if there was a collision. So you cannot find the point of collision like you would with OnCollisionEnter().

You could however turn off isTrigger and add a rigidbody component to the object with the collider that you are running OnTriggerEnter() on, and make it a kinematic rigidbody, though. Then it would function just like a trigger, but you could use the collision information in OnCollisionEnter() and get the contact point.

Once you have that, you can get the contact point with OnCollisionEnter like this:

http://answers.unity3d.com/questions/42933/how-to-find-the-point-of-contact-with-the-function.html

Google: unity OnTriggerEnter contact point

*********************
Solved! I put the another object the detection:

void OnTriggerEnter2D(Collider2D target){

if (target.tag== “Player”) {

Debug.Log (“Player Y” + target.transform.position.y);
}