{"id":13661721,"url":"https://github.com/mohammadroohian/PashmakCore","last_synced_at":"2025-04-25T03:31:06.771Z","repository":{"id":53193891,"uuid":"346977073","full_name":"mohammadroohian/PashmakCore","owner":"mohammadroohian","description":"A number of useful scripts.","archived":false,"fork":false,"pushed_at":"2021-05-14T07:09:41.000Z","size":2527,"stargazers_count":16,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-02T05:13:20.931Z","etag":null,"topics":["component","plugin","script","unity","unity3d"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mohammadroohian.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-12T07:19:52.000Z","updated_at":"2023-10-11T03:44:41.000Z","dependencies_parsed_at":"2022-09-15T01:12:44.020Z","dependency_job_id":null,"html_url":"https://github.com/mohammadroohian/PashmakCore","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammadroohian%2FPashmakCore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammadroohian%2FPashmakCore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammadroohian%2FPashmakCore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammadroohian%2FPashmakCore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mohammadroohian","download_url":"https://codeload.github.com/mohammadroohian/PashmakCore/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223979708,"owners_count":17235444,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["component","plugin","script","unity","unity3d"],"created_at":"2024-08-02T05:01:40.386Z","updated_at":"2024-11-10T16:31:45.015Z","avatar_url":"https://github.com/mohammadroohian.png","language":"C#","funding_links":[],"categories":["C\\#"],"sub_categories":[],"readme":"# PashmakCore\n[![Unity 2019.4.7+](https://img.shields.io/badge/unity-2019.4.7%2B-blue.svg)](https://unity3d.com/get-unity/download)\n[![License: MIT](https://img.shields.io/badge/License-MIT-brightgreen.svg)](https://github.com/mohammadroohian/PashmakCore/blob/master/LICENSE)\n\nA number of useful scripts for every things in unity!\nWork with sprites, user interface, physics and more!\n____________\nEach script written to perform a specific action.\nWe call them component unit (CU).\nSome parts are included in this pack:\n  * Application\n  * Audio\n  * Camera\n  * Conditions\n  * GameObject\n  * Input\n  * Rigidbody \u0026 Rigidbody2D\n  * SceneManager\n  * Screen\n  * ScreenCapture\n  * Sprite\n  * StoreData\n  * Time\n  * Timer\n  * Transform\n  * UI\n  * MonoEvents\n  * Color fader - sprite renderer - renderer - UI\n  \n  and so on.\n\nThis code snippet can be used for 2D and 3D projects.\nEach component has a simple task that can be combined with other components to perform more complex tasks.\n\n### Why should you use PashmakCore?\n\nUse these pieces of code instead of writing code for some small tasks. Use them to build prototypes and speed things up.\nPut them together and do more complex tasks without the need for coding.\n\n## Requirements\n* Unity 2019.4.7 or later versions.\n* [NaughtyAttributes](https://github.com/dbrizov/NaughtyAttributes)\n* TextMesh Pro 2.0.1\n* Post Processing 2.3.0\n\n## Installation\n* First install `TextMesh Pro` and `Post Processing` packages in Unity through Package Manager.`MenuItem - Window - Package Manager`\n* Add `TextMesh Pro` sample scenes.\n\n### Perform one of the following methods:\n#### zip file (The simple way)\n1. Download a `source code` zip from [releases](https://github.com/mohammadroohian/PashmakCore/releases).\n2. Extract it.\n3. Copy the items in the `Assets` folder into the `Assets` folder of your project. (Click replace files if necessary)\n\n#### unitypackage file\n1. Install [NaughtyAttributes](https://github.com/dbrizov/NaughtyAttributes#installation).\n2. Download `.unitypackage` file from [releases](https://github.com/mohammadroohian/PashmakCore/releases).\n3. Import it into your project.\n\n## Overview\nTo learn more about how these components work, check out the sample scenes.\nThe following are a number of practical cases.\n\n### CU_ColorFader\n\n![image](https://user-images.githubusercontent.com/80090999/112787349-8e68cd00-906d-11eb-8a94-6077ff5edf13.png)\n\n2D sprites and 3D objects:\n\n![CU_ColorFader](https://user-images.githubusercontent.com/80090999/112787603-1f3fa880-906e-11eb-8301-cfa3e79fd579.gif)\n\nUnity UI system:\n\n![CU_ColorFader_2](https://user-images.githubusercontent.com/80090999/112787894-db00d800-906e-11eb-8a32-fd14e8ae43d7.gif)\n\n### CU_MonoEvent_Collider\n\n![image](https://user-images.githubusercontent.com/80090999/112798795-ab5bcb00-9082-11eb-836e-2300284e4178.png)\n\nThe `CU_MonoEvent_Collider` component is used to detect all types of collisions and triggers in 2D and 3D.\n\n![MonoEvent_Collider](https://user-images.githubusercontent.com/80090999/112799285-66846400-9083-11eb-9fae-aa22b716cfcc.gif)\n\n### CU_MonoEvent_Mouse\n\n![image](https://user-images.githubusercontent.com/80090999/112799912-35f0fa00-9084-11eb-8131-02e9605eac08.png)\n\nThe `CU_MonoEvent_Mouse` component is used to detect mouse events. \nEnter - Exit - Down - Up - Over - Drag\n\n![MonoEvent_Mouse](https://user-images.githubusercontent.com/80090999/112799979-4dc87e00-9084-11eb-930e-52f59180bead.gif)\n\n### Snapable objects\n\n![image](https://user-images.githubusercontent.com/80090999/112800692-3a69e280-9085-11eb-887c-977251a05d74.png)\n\nThe `CU_Transform_SnapObj` component and `CU_Transform_Dragable` are used to snap one object to a specific point.\n\n![CU_Transform_SnapObj2](https://user-images.githubusercontent.com/80090999/112801875-aac53380-9086-11eb-941d-b69b61675e04.gif)\n\n### CU_GameObject_Instantiate\n\n![image](https://user-images.githubusercontent.com/80090999/112802162-1909f600-9087-11eb-99d6-199a1a1f3156.png)\n\nThe `CU_GameObject_Instantiate` component is used to spawn game objects.\n\n![CU_GameObject_Instantiate ](https://user-images.githubusercontent.com/80090999/112802558-8e75c680-9087-11eb-979a-539d6308f361.gif)\n\n### CU_GameObject_Destroy\n\n![image](https://user-images.githubusercontent.com/80090999/112802753-ced54480-9087-11eb-812d-00c256be8523.png)\n\nTher `CU_GameObject_Destroy` component is used to delete game objects or delete the children of a specific  game object  from the scene.\n\n![CU_GameObject_Destroy](https://user-images.githubusercontent.com/80090999/112803011-1b208480-9088-11eb-9ade-88fa2ef126e2.gif)\n\n### CU_Input_GetKey\n\n![image](https://user-images.githubusercontent.com/80090999/112806128-b49d6580-908b-11eb-9c05-e7c8646ae641.png)\n\nThe `CU_Input_GetKey component` is used to detect input keys.\n\n![CU_Input_GetKey](https://user-images.githubusercontent.com/80090999/112806299-df87b980-908b-11eb-8f2f-116d2efe9894.gif)\n\n### CU_Input_GetMouseButton\n\n![image](https://user-images.githubusercontent.com/80090999/112806678-4ad18b80-908c-11eb-9da7-f1fc27813b92.png)\n\nThe `CU_Input_GetMouseButton` component is used to detect mouse inputs.\n\n![CU_Input_GetMouseButton](https://user-images.githubusercontent.com/80090999/112806695-50c76c80-908c-11eb-894c-fbe92535f9c2.gif)\n\n### CU_Transform_Sync\n\n![image](https://user-images.githubusercontent.com/80090999/112806946-9421db00-908c-11eb-8004-d49b70753f7f.png)\n\nThe `CU_Transform_Sync component` is used to synchronize the transform properties (position, rotation, scale) of an object game.\n\n![CU_Transform_Sync](https://user-images.githubusercontent.com/80090999/112807139-d0edd200-908c-11eb-99f8-74165f7a81e7.gif)\n\n### CU_Transform_LerpPositions\n\n![image](https://user-images.githubusercontent.com/80090999/112807353-0abed880-908d-11eb-9cca-6336465314fa.png)\n\nThe `CU_Transform_LerpPositions` component is used to move an agent between multiple points. This component also has a loop capability.\n\n![CU_Transform_LerpPositions](https://user-images.githubusercontent.com/80090999/112807618-5a050900-908d-11eb-82ea-cdd32f7781b6.gif)\n\n### CU_Transform_Dragable\n\n![image](https://user-images.githubusercontent.com/80090999/112807819-90db1f00-908d-11eb-8f0e-a242922fd83c.png)\n\nThe `CU_Transform_Dragable` component is used to enable the ability to drag objects.\n\n![CU_Transform_Dragable](https://user-images.githubusercontent.com/80090999/112807988-c253ea80-908d-11eb-9a79-cffe41a0485c.gif)\n\n### CU_Transform_Position_SyncToMouse\n\n![image](https://user-images.githubusercontent.com/80090999/112808100-e283a980-908d-11eb-870b-27e2565f8f78.png)\n\nThe `CU_Transform_Position_SyncToMouse` is used to synchronize the position of an object game with mouse.\n\n![CU_Transform_Position_SyncToMouse](https://user-images.githubusercontent.com/80090999/112808320-1bbc1980-908e-11eb-96f3-113f592f4d17.gif)\n\n### CU_Transform_Translate\n\n![image](https://user-images.githubusercontent.com/80090999/112808569-5b830100-908e-11eb-9e89-4fb8ffa981b7.png)\n\nThe `CU_Transform_Translate` component is used to move an object game on the screen.\n\n![CU_Transform_Translate](https://user-images.githubusercontent.com/80090999/112808778-96853480-908e-11eb-9718-df53643db8f0.gif)\n\n### CU_Transform_LerpRotation\n\n![image](https://user-images.githubusercontent.com/80090999/112808943-c16f8880-908e-11eb-8f62-59cfeb55be86.png)\n\nThe `CU_Transform_LerpRotation` component is used to change the angle of a game object from one angle to another smoothly.\n\n![CU_Transform_LerpRotation](https://user-images.githubusercontent.com/80090999/112809176-fbd92580-908e-11eb-9e2f-e9eaa59e2a74.gif)\n\n### CU_Transform_LookAt\n\n![image](https://user-images.githubusercontent.com/80090999/112809720-89b51080-908f-11eb-957f-9d2d08619e8b.png)\n\nThe `CU_Transform_LookAt` component is used to look from one object to another.\n\n![CU_Transform_LookAt](https://user-images.githubusercontent.com/80090999/112809757-98032c80-908f-11eb-8599-f12e2005a0e3.gif)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohammadroohian%2FPashmakCore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmohammadroohian%2FPashmakCore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohammadroohian%2FPashmakCore/lists"}